@import '../../assets/scss/common.scss';

.publisher{
    display: flex;
    align-items: center;

    .avatar{
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }
}

.option-row{
    display: flex;
    align-items: center;
    margin-top: 20px;
    &:first-child{
        margin-top: 0;
    }

    .icon{
        height: 60px;
        width: 60px;
        border-radius: 50%;
        margin-right: 20px;
    }

    .option-text{
        flex: 1;
        line-height: 80px;
        border-radius: 8px;
        border:1PX solid rgb(226, 226, 226);
        padding: 0 30px;
        font-size: 28px;
        color: #666;
        position: relative;
    
        .rate{
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background-color: rgb(241, 241, 241);
        }
    
        .content{
            position: relative;
            z-index: 2;
        }

        .score{
            position: absolute;
            right: 20px;
        }
    }

    &.selected{
        .rate{
            background-color: rgb(160, 248, 233) !important;

        }
    }
}


.image-grid{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    .item{
        padding-bottom: 100%;
        position: relative;

        .wrap{
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;

            .option-image{
                width: 100%;
                height: 100%;
                max-width: 100%;
                max-height: 100%;
            }
        }
    }

}